Skip to content

crypto: primitives - RFC 8439's raw ChaCha20 and Poly1305, proposal to delivery - #43

Merged
pinhopro merged 13 commits into
mainfrom
crypto/primitives
Dec 5, 2026
Merged

pinhopro merged 13 commits into
mainfrom
crypto/primitives

Conversation

@pinhopro

@pinhopro pinhopro commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

crypto's change primitives: RFC 8439's raw ChaCha20 and Poly1305, built and merged (webcpporg/crypto#30, webcpporg/webcpp#69).

  • Proposal, design, spec, tasks and plan, with owner decisions 5 (the stream cipher's concept and free forms in crypto::unauthenticated_encryption), 6 (raw Poly1305 in crypto::single_use_key_authentication, the composition test as an 18-cell cross-backend matrix) and 7 (the concept reads the algorithm's own sizes and counter type).
  • reference/STATUS.md: the rulings made while building, the per-task reviews, the lanes and dudect readings, every shortened MSVC twin; design and plan true to the build.
  • tasks.md ticked; .openspec.yaml state.

🤖 Generated with Claude Code

R added 13 commits November 30, 2026 19:50
…oncept stream_cipher, counter_overflow, libsodium, BearSSL and OpenSSL): proposal, design with Q1 for the owner, spec, tasks and plan
…cipher's concept and free forms in crypto::unauthenticated_encryption, with a page of its own; Q1 closed
…raw Poly1305 (authenticators::poly1305 on libsodium and OpenSSL, BearSSL refused) in crypto::single_use_key_authentication, its concept and four forms, a page of its own, and RFC 8439's AEAD composed from the raw pieces as a test; about 24 h
… (owner decision 6, 2026-12-01): raw ChaCha20 on three backends, Poly1305 on two, ChaCha20-Poly1305 on three, 18 combinations in one type-parameterised test, BearSSL included
…cipher's concept and free forms read the algorithm's own nonce_size, block_size and counter_type, the counter's end computed by detail::counter_overflows, a test-only stand-in of another shape, AES-CTR the motivating later consumer; about 25 h
…it_ex, carries_mark), the NIP-44 vectors' licence ruling
Status implementing with the crypto repository as its implementation; every task
ticked but 7.3 (the final lanes, the pull requests, the merges and the CI), which the
controller ticks after merging. STATUS dated 2026-12-05 with the heads (crypto 280006d,
superproject 4cfb4b8) and the Task 13 merges of origin/main. Design D9 and D16 list the
message tests as built (verify_poly1305_asynchronous_backend, the catch-alls, the silent
engine refusals), the bench cell one_time_tag; the plan's Task 9 names the Poly1305 verify
test as built. README regenerated.
@pinhopro
pinhopro merged commit 63282af into main Dec 5, 2026
2 checks passed
@pinhopro
pinhopro deleted the crypto/primitives branch December 5, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant